home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!xmission!news
- From: tknarr@xmission.com ( Todd Knarr )
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: Hungarian notation
- Date: 25 Jan 1996 02:06:33 GMT
- Organization: Chaos Central
- Message-ID: <4e6oj9$o02@news.xmission.com>
- References: <30C40F77.53B5@swsbbs.com> <4d2ok0$69s@beach.and.nl> <4dtv3gINNo9u@keats.ugrad.cs.ubc.ca> <SPENCER.96Jan22113215@zorgon.ERA.COM> <4e1nd8$hv0@solutions.solon.com> <3104bfc8.132251392@nntp.ix.netcom.com> <dewar.822407919@schonberg> <3106260f.224013120@nntp.ix.netcom.com>
- Reply-To: tknarr@xmission.com ( Todd Knarr )
- NNTP-Posting-Host: slc62.xmission.com
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <3106260f.224013120@nntp.ix.netcom.com>, miker3@ix.netcom.com (Mike Rubenstein) writes:
- > When a value with integral type is demoted to a signed integer
- > with smaller size or an unsigned integer is converted to its
- > corresponding signed integer, if the value cannot be
- > represented the result is implementation defined.
- >
- >This requires an implementation to convert the integral type. It does
- >not give it license to take actions not specified by the standard.
-
- I think you're reading something into the standard that isn't there. The
- standard says the implementation must define what it will do, but the
- standard says nothing whatsoever about *what* definition the implementation
- must give. The implementation is free to define the result as always
- producing 0 in this case, or a random number, or causing program
- termination, or producing nasal demons. That this is so should be
- obvious, because if the standard dictated what definition the implementation
- would use then it would not be implementation defined, now would it?
-
- --
- Todd Knarr : tknarr@xmission.com | finger for PGP public key
- | Member, USENET Cabal
-
- Seriously, I don't want to die just yet. I don't care how
- good-looking they are, I! don't! want! to! die!"
- -- Megazone ( UF1 )
-
-